Microsoft DirectX 8.1 (C++)

ICAOffers.Remove

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Remove method removes an offer from the collection.

Syntax

objCAOffers.Remove(Index)

Parameters

  Index

VARIANT that specifies the offer to retrieve. This parameter can be a zero-based index into the collection, or a CAOffer object already in the collection.

Error Codes

If the method fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

No return value.

Remarks

Before removing the offer, this method retrieves the ICAPolicy.OkToRemoveOffer property on the owning policy. If the value is FALSE, the Remove method fails.

See Also